projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ff96b
)
x86: Use per-domain irq-to-vector array when mapping GSIs
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 5 Feb 2009 12:20:18 +0000
(12:20 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 5 Feb 2009 12:20:18 +0000
(12:20 +0000)
Using the per-domain array enables single MSI vectors to be mapped.
Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
xen/arch/x86/physdev.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/physdev.c
b/xen/arch/x86/physdev.c
index 63ef08893bfc163da5f01ae3509290a0c468ed7f..794632c0536f80803caa01a0a63302f358febbac 100644
(file)
--- a/
xen/arch/x86/physdev.c
+++ b/
xen/arch/x86/physdev.c
@@
-62,7
+62,7
@@
static int physdev_map_pirq(struct physdev_map_pirq *map)
ret = -EINVAL;
goto free_domain;
}
- vector =
IO_APIC_VECTOR(
map->index);
+ vector =
domain_irq_to_vector(current->domain,
map->index);
if ( !vector )
{
dprintk(XENLOG_G_ERR, "dom%d: map irq with no vector %d\n",